package com.cw.entity;

import com.alibaba.excel.annotation.*;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.io.*;
import java.time.*;
import lombok.*;
import lombok.experimental.*;

/**
* @author smq
* @since 2021-04-27
 */
@ApiModel(value = "医生、科室")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("DOCTOR")
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId("id")
    private String id;

    @ApiModelProperty(value = "医生编码")
    @ExcelProperty(value = "DOCTOR_CODE")
    @TableField("DOCTOR_CODE")
    private String doctorCode;

    @ApiModelProperty(value = "医生姓名")
    @ExcelProperty(value = "DOCTOR_NAME")
    @TableField("DOCTOR_NAME")
    private String doctorName;

    @ApiModelProperty(value = "科室编码")
    @ExcelProperty(value = "DEPT_CODE")
    @TableField("DEPT_CODE")
        private String deptCode;

    @ApiModelProperty(value = "科室名称")
    @ExcelProperty(value = "DEPT_NAME")
    @TableField("DEPT_NAME")
        private String deptName;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "CREATE_TIME")
    @TableField("CREATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    @ExcelProperty(value = "CREATE_BY")
    @TableField("CREATE_BY")
        private String createBy;

    @ApiModelProperty(value = "删除 0:未删除 1:已删除")
    @ExcelProperty(value = "DELETE_FLAG")
    @TableField("DELETE_FLAG")
        private String deleteFlag;



}
